package com.file.system.plugin.file;

import cn.hutool.core.io.FileUtil;

/**
 * 删除文件工具类
 */
public class DeleteFileTool implements Runnable {
    private String filePath;

    public DeleteFileTool(String filePath) {
        this.filePath = filePath;
    }

    @Override
    public void run() {
        FileUtil.del(this.filePath);
    }
}
